/**
 * Created by seeker910 on 2014/8/20.
 * @description 组件名称命名约定：继承container组件，名称以ViewPart结尾;继承control组件，名称以Part结尾
 * Blog 视图
 */
Rsd.define('Rsd.hermit.sections.BlogViewPart', {
    extend: 'Rsd.container.Component',
    requires: [
        'Rsd.form.Text',
        'Rsd.hermit.sections.HtmlContentPart',
        'Rsd.hermit.sections.ScrollListPart' 
    ],
    xtype: 'blog-view', 
     /**
     * @description 标识该组件是否允许编辑
     */
    domEditable:false,
     /**
     * @description true:表示只允许在模板中修改
     */
    editInMaster:false,
    header:{
        content:'blog view',
        style:{fontSize:'200%',lineHeight:60}
    },
    items:[
        {
            xtype:'image',
            label:false,
            height:600,
            src:'https://img0.baidu.com/it/u=15396030,1143539239&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=500'
        }, 
        {
            xtype:'html-content', 
            width:'100%',
            height:'auto',
            label:{
                position:'top',
                content:'by Admin May 24 2025',
                style:{textAlign:'right'},
            },
            html:'<h3>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</h3><p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididu ut laboref et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laborisnisi aliq ex ea commodo consequat. Duis aute irure dolor in reprehend in voluptate velit esse cillum doloreo eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui deseruntl mollit anim id est laborum. Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusanti doloremque laudantium, totam rem aperiam.</p>'
        },
        {
            xtype:'label'
        }
    ],
    /**
     *  */ 
    constructor: function BlogViewPart(config) {
        config = config || {};
        Rsd.apply(this, config);

    },
    /**
     * 
     */
    afterInit:function(){

    },
    /**
     * {news:[],notic:[],files:[],laws:[],biz:[]}
     */
    loadData:function loadData()
    {
         
    }

});